import React from "react";
import { BrowserRouter as Router, Switch } from 'react-router-dom';
import './App.css';
import Header from "./Header";
import Content from "./Content";


const App = () => {
    return (
        <Router>
            <div>

                <Header />
                <Content />
                {/* Switch会显示匹配成功的第一个 */}

            </div>
        </Router>
    )

}

export default App;